//
//  UILabel+MGTLabel.m
//  PageManagerTest
//
//  Created by rainimute on 16/7/14.
//  Copyright © 2016年 你问我答. All rights reserved.
//

#import "UILabel+MGTLabel.h"

@implementation UILabel (MGTLabel)
- (void)setUpLabelWithText:(NSString *)text alignment:(NSTextAlignment)alignment textSize:(CGFloat)textSize textColor:(UIColor *)textColor{
    self.text = text;
    self.textAlignment = alignment;
    self.font = [UIFont systemFontOfSize:textSize];
    if (textColor) {
        self.textColor = textColor;
    }
}
@end
